package com.cuit.ocp.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Date;
@Data
@NoArgsConstructor
@AllArgsConstructor
@Component
@ConfigurationProperties(prefix = "order")
public class Order {
    private int oid;
    private int traderId;           //经销商ID
    private String orderName;       //订单名字
    private String onlineStore;     //订单所属店
    private Date orderCreateDate;   //订单创建日期
    private String  orderNo;        //订单编号
    private int orderStatus;        //订单状态
    private double  orderPrice;     //订单价格
    private Date payDate;           //订单支付日期
    private String payWay;          //订单支付方式
    private String buyerName;       //买家姓名
    private String buyerPhone;      //买家电话
    private String buyerProvince;   //买家地址——省
    private String buyerCity;       //买家地址——市
    private String buyerArea;       //买家地址——区
    private String buyerMessage;    //买家留言
}
